if (! ('capitalize' in String.prototype)) {
	String.prototype.capitalize = function() {
			return this.substring(0,1).toUpperCase() + this.substring(1, this.length);
	};
};

if (! ('forEach' in Array.prototype)) {
  Array.prototype.forEach = function(fun/*, thisp*/) {
    var len = this.length;
    if (typeof fun != "function")
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i < len; i++) {
      if (i in this)
        fun.call(thisp, this[i], i, this);
    };
  };
};
